import pygame as pg
import random

class Zombie():
    def __init__(self,healthy = 100):
        self.img = pg.image.load("images\Zombies\Zombie.png")
        self.x = 800
        self.y = random.randint(0,4) * 100 + 90
        self.rect = (self.x,self.y,self.img.get_width(),self.img.get_height())
        self.speed = -0.25
        self.maxhealthy = healthy
        self.healthy = self.maxhealthy
        self.healthbarColor = (0,255,0)
